package com.xxx.mch.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel ("质量分模板对象")
public class QualityScoreTemplateRequest
{
    private Integer id;

    /**
     * 名称
     */
    private String name;

    @ApiModelProperty ("排序序号，由前端生成，从1开始")
    private Integer sequence;

    private BigDecimal score;

    private Integer parentId;

    /**
     * 是否被选中
     */
    private Boolean selected;

    private List<QualityScoreTemplateRequest> children = new ArrayList<>();
}